;
; MODULE:         sys_boot_chimera.s
; MAINTAINER:     
; CREATION DATE:  21 November 2000
; DESCRIPTION:    system boot code for Chimera (ARM7DI - XR7)
;
; SOURCE CONTROL: $Id: sys_boot_chimera.s,v 1.3 2008/11/08 07:30:06 tianwq Exp $
;
; REVISION HISTORY:
;
; LICENSE:
;     This source code is copyright (c) 2000-2004 Ceva Inc.,
;     All rights reserved.
;
; Intended to be included in sys_boot_arm.s
;
;
; AEB1 Specific Definitions
;
LSRAM_BASE  EQU    0x00000000
LSRAM_LIMIT EQU    0x00000800

SRAM_BASE   EQU    0x00000800
SRAM_LIMIT  EQU    TOP_OF_MEMORY

IRQ_STACK   EQU    SRAM_LIMIT
FIQ_STACK   EQU    IRQ_STACK-2048
SVC_STACK   EQU    FIQ_STACK-4096
USR_STACK   EQU    SVC_STACK-8192
SYS_STACK   EQU    USR_STACK-4096

    EXPORT IRQ_STACK
    EXPORT FIQ_STACK
    EXPORT SVC_STACK
    EXPORT USR_STACK
;
; Chimera Function Implementations
;

;
; FUNCTION:     _SYSboot_Setup_Target_Specific
; DESCRIPTION:  Any target specific initialisation or setup code
;               
_SYSboot_Setup_Target_Specific
;----------------------------------------------------------------------------
;  Initialise External Device Setup Registers
    MOV     PC, LR       

;
; FUNCTION:     _SYSboot_Map_Flash_High
; DESCRIPTION:  Remap flash from 0x00000000 (boot address) to high memory
;
_SYSboot_Map_Flash_High
    MOV     PC, LR 

;
; FUNCTION:     _SYSboot_Config_LSRAM_Cache
; DESCRIPTION:  Setup any on-chip SRAM or cache
;
_SYSboot_Config_LSRAM_Cache
    MOV     PC, LR


;
; FUNCTION:     _SYSboot_Map_SRAM_Low
; DESCRIPTION:  Map SRAM in Low Memory
;
_SYSboot_Map_SRAM_Low
   
    MOV     PC, LR

;
; FUNCTION:     _SYSboot_Setup_Stacks_Disable_Intr
; DESCRIPTION:  Setup stack pointers for IRQ Mode, FIQ Mode, SVC Mode 
;               ensuring all the time that IRQ and FIQ are disabled
;
_SYSboot_Setup_Stacks_Disable_Intr
    MOV     PC, LR
    END
